home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
PROGRAMMING
/
DESKLIBC
/
SOURCES.ZIP
/
DeskLib
/
!DLSources
/
Libraries
/
Clear
/
DLL
/
MkOs
Wrap
Text File
|
1995-09-04
|
2KB
|
113 lines
ObjectFiles = \
o.Create \
o.Free \
o.Init \
o.Load \
o.Save \
LibName = Clear
# Template makefile to make all .o files
# for a DeskLib sublibrary. Compilation
# is for static linking inside a DLL.
# The macro $(ObjectFiles) should be set at the
# start of this file, to be a space-separated
# list of object files.
# This is done by 'Makatic'.
# The macro $(LibName) should also be set at the
# start of this file, to be the name of the
# DeskLib sublibrary.
#
# Compiler flags, These can be anything.
# All essential flags (eg CC -zM
# are included in the macro $(CC).
#
CCFlags = -fahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
ASMFlags = -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
CC = cc -c -zM -d_DLL -JC:DLLLib.,:mem $(CCFlags)
ASM = ObjAsm $(ASMFlags)
# -------------------------------------------------------
# Everything below here should probably not be changed...
# -------------------------------------------------------
# Here's what we want to make...
#
All: $(ObjectFiles)
# Rule for compiling C source code for a Straylight dynamically-linked library.
VPATH = @.^
.SUFFIXES: .o .c .s
.c.o:
$(CC) -o $@ $<
.s.o:
$(ASM) $(ASMFlags) -from $< -to $@
# Dynamic dependencies:
o.Create: ^.c.Create
o.Create: C:h.stdlib
o.Create: DeskLib:h.Clear
o.Create: DeskLib:h.Wimp
o.Create: DeskLib:h.Core
o.Create: C:h.stddef
o.Create: C:DLLLib.h.dll
o.Create: C:h.kernel
o.Create: DeskLib:h.Mem
o.Create: DeskLib:h.Clear
o.Create: ^.h.ClearDefs
o.Free: ^.c.Free
o.Free: C:h.stdlib
o.Free: DeskLib:h.Clear
o.Free: DeskLib:h.Wimp
o.Free: DeskLib:h.Core
o.Free: C:h.stddef
o.Free: C:DLLLib.h.dll
o.Free: C:h.kernel
o.Free: DeskLib:h.Mem
o.Init: ^.c.Init
o.Init: DeskLib:h.Clear
o.Init: DeskLib:h.Wimp
o.Init: DeskLib:h.Core
o.Init: C:h.stddef
o.Init: C:DLLLib.h.dll
o.Init: C:h.kernel
o.Init: ^.h.ClearDefs
o.Load: ^.c.Load
o.Load: C:h.stdlib
o.Load: DeskLib:h.Clear
o.Load: DeskLib:h.Wimp
o.Load: DeskLib:h.Core
o.Load: C:h.stddef
o.Load: C:DLLLib.h.dll
o.Load: C:h.kernel
o.Load: DeskLib:h.File
o.Load: DeskLib:h.SWI
o.Load: DeskLib:h.Mem
o.Save: ^.c.Save
o.Save: C:h.string
o.Save: DeskLib:h.Clear
o.Save: DeskLib:h.Wimp
o.Save: DeskLib:h.Core
o.Save: C:h.stddef
o.Save: C:DLLLib.h.dll
o.Save: C:h.kernel
o.Save: DeskLib:h.File
o.Save: DeskLib:h.SWI
o.Save: DeskLib:h.Wimp